CCSMB-9: Disabling Automatic Updating and Dependency Installation in Lua Programs#25
CCSMB-9: Disabling Automatic Updating and Dependency Installation in Lua Programs#25tomodachi94 wants to merge 4 commits intoCCSMB:masterfrom
Conversation
scmcgowen
left a comment
There was a problem hiding this comment.
Agree with DVD and noted typographical error
DVD-DAVIDE
left a comment
There was a problem hiding this comment.
There are some inconsistencies in the document.
| # CCSMB 9: Disabling Automatic Updating and Dependency Installation in Lua Programs | ||
|
|
||
| *Author: Tomodachi94 <@tomodachi94>* | ||
|
|
There was a problem hiding this comment.
I think we should add the text referring to RFC 2119 at the top here if we're gonna use the keywords
|
|
||
| ### Global variable | ||
|
|
||
| Compliant programs MUST allow disabling autoupdating through the `CCSMB_ENABLE_AUTOUPDATING` global variable. If the global is set to `false`, autoupdating MUST be disabled. If the variable is unset, compliant programs MAY choose to enable or disable autoupdating for itself. |
There was a problem hiding this comment.
And what if the global variable is true? I think this should also be defined
| Programs implementing autoinstallation of dependencies MUST implement all options listed below in order to be considered compliant. | ||
|
|
||
| ### `settings` API setting | ||
| Compliant programs MUST allow disabling dependency installation through the `ccsmb.dependencyInstallation.enable` setting. If the option is set to `true`, autoinstallation of dependencies MUST be disabled. If the option is unset, compliant programs MAY choose to enable or disable dependency installation for itself. |
There was a problem hiding this comment.
And if its false?
I may be annoying about this but I think all options should be clearly defined
|
|
||
| ### Global variable | ||
|
|
||
| Compliant programs MUST allow disabling autoinstallation of dependencies through the `CCSMB_ENABLE_DEPENDENCY_INSTALLATION` global variable. If the global is set to `false`, autoupdating MUST be disabled. If the option is unset, compliant programs MAY choose to enable or disable dependency installation for itself. |
There was a problem hiding this comment.
And here too, if its set to true the behaviour should be defined.
| Programs implementing an autoupdater MUST implement all options listed below in order to be considered compliant. | ||
|
|
||
| ### `settings` API setting | ||
| Compliant programs MUST allow disabling autoupdating through the `ccsmb.autoupdate.enable` setting. If the option is set to `false`, autoupdating MUST be disabled. If the option is unset, compliant programs MAY choose to enable or disable autoupdating for itself. |
There was a problem hiding this comment.
Here too we should probably define what happens if its true
| Programs implementing autoinstallation of dependencies MUST implement all options listed below in order to be considered compliant. | ||
|
|
||
| ### `settings` API setting | ||
| Compliant programs MUST allow disabling dependency installation through the `ccsmb.dependencyInstallation.enable` setting. If the option is set to `true`, autoinstallation of dependencies MUST be disabled. If the option is unset, compliant programs MAY choose to enable or disable dependency installation for itself. |
There was a problem hiding this comment.
If its set to true, it should be enabled, not disabled, its way more clear
The title says it all. (I hope?)
See the Rationale section for rationale.